/*
 * @Author: June
 * @Date: 2022-11-17 15:41:36
 * @LastEditors: June
 * @LastEditTime: 2022-11-18 16:30:28
 * @Description: 系统管理路由
 *
 */

import Layout from '@/layout'
export const system = {
  path: '/sys',
  component: Layout,
  redirect: '/sys/user',
  meta: {
    title: '系统管理', icon: 'icon-xitongshezhi'
  },
  children: [
    {
      path: 'user',
      name: 'User',
      component: () => import('@/views/system/user'),
      meta: { title: '人员管理', icon: 'icon-renyuan' }
    },
    {
      path: 'department',
      name: 'Department',
      component: () => import('@/views/system/department'),
      meta: { title: '组织架构', icon: 'icon-zuzhijiagou' }
    },
    {
      path: 'loginLog',
      name: 'LoginLog',
      component: () => import('@/views/system/loginLog'),
      meta: { title: '登录日志', icon: 'icon-cuoqingdengji' }
    },
    {
      path: 'fields',
      name: 'Fields',
      component: () => import('@/views/system/fields'),
      meta: { title: '字段配置', icon: 'icon-ziduanku' }

    }
  ]
}

